package com.park.dao.article;

import java.util.List;

import com.park.client.model.article.ArticleModel;
import com.park.client.model.article.ArticleCollectModel;
import com.park.dao.base.BaseMapper;

public interface ArticleCollectMapper extends BaseMapper<ArticleCollectModel>{

	/**
	 * 校验是否已经收藏
	 * @param record
	 * @return
	 */
    ArticleCollectModel selectIsExists(ArticleCollectModel record);
    
    /**
     * 收藏分页
     * @param t
     * @return
     */
    List<ArticleModel> selectCollectPagination(ArticleCollectModel t);
	
    Integer selectCollectTotal(ArticleCollectModel t);
    
    List<ArticleCollectModel> list(Long id);
}